﻿using System;
using System.Collections.Generic;
using Alpha.DataBase;
using BlockMe.Model;

namespace BlockMe.Infrastructure
{
    public interface IPostRepository : 
        IRepository<Post>, ITotalCounter,
        IRetrieve<IEnumerable<Post>, Post>,
        ICountByParameter<PostStatus>
    {
        IEnumerable<Post> GetPostsByDate(DateTime time);
        IEnumerable<Post> GetPostsByTag(string tag);
        IEnumerable<Comment> GetPostComment(int postID);
        Post GetByTitle(string title);
    }
}
